﻿.ab-workflow {
    position:relative;
    height:100%;
    width:100%;
    padding-left:60px;
}
.ab-workflow.ab-workflow-preview {
    padding-left: 0px;
}


.ab-workflow-tool {
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:60px;
    background-color:#f8f8f8;
    border-right:1px solid #ddd;
}
.ab-workflow-tool span {
    height: 0;
    overflow: hidden;
    border-bottom: #ccc 1px solid;
    border-top: #fff 1px solid;
    margin: 1px;
    clear: both;
    display: block;
}
.ab-workflow-btn {
    display: block;
    border: 0;
    height: 50px;
    width: 50px;
    cursor:pointer;
    margin:auto;
    margin-top: 2px;
    margin-bottom: 2px;
    outline: none;
    border: #f7f7f7 1px solid;
    border-radius: 8px;
}
.ab-workflow-btndown {
    display: block;
    height: 50px;
    width: 50px;
    cursor: pointer;
    margin:auto;
    margin-top: 2px;
    margin-bottom: 2px;
    outline: none;
    border: #ccc 1px solid;
    background: #fff;
    border-radius: 8px;
}
.ab-workflow  b {
    display: block;
    width: 48px;
    height: 48px;
    overflow: hidden;
}
.ab-workflow  .ico_cursor {
    background: url(/Content/images/abskyworkflow/cursor.png) no-repeat 0 0;
}
.ab-workflow  .ico_direct {
    background: url(/Content/images/abskyworkflow/direct.png) no-repeat 0 0;
}
.ab-workflow  .ico_startround {
    background: url(/Content/images/abskyworkflow/startround.png) no-repeat 0 0;
}
.ab-workflow  .ico_endround {
    background: url(/Content/images/abskyworkflow/endround.png) no-repeat 0 0;
}
.ab-workflow  .ico_stepnode {
    background: url(/Content/images/abskyworkflow/stepnode.png) no-repeat 0 0;
}
.ab-workflow  .ico_confluencenode {
    background: url(/Content/images/abskyworkflow/confluencenode.png) no-repeat 0 0;
}
.ab-workflow  .ico_conditionnode {
    background: url(/Content/images/abskyworkflow/conditionnode.png) no-repeat 0 0;
}
.ab-workflow  .ico_conditionnodediv {
    background: url(/Content/images/abskyworkflow/conditionnodediv.png) no-repeat 0 0;
}
.ab-workflow  .ico_auditornode {
    background: url(/Content/images/abskyworkflow/auditornode.png) no-repeat 0 0;
}
.ab-workflow  .ico_childwfnode {
    background: url(/Content/images/abskyworkflow/childwfnode.png) no-repeat 0 0;
}
/*绘制区域*/
.ab-workflow-work {
    position:relative;
    width:100%;
    height:100%;
}
.ab-workflow-work .ab-workflow-workinner {
    background-image: url(/Content/images/abskyworkflow/wallbg.png);
    position: relative;
    overflow: hidden;
}
/*节点*/
.ab-workflow-node {
    position:absolute;
    background-color: #fff;
    border: #a8a8a8 solid 1px;
    border-radius: 10px;
    box-shadow: 2px 2px 19px #e0e0e0;
    margin: 0;
    padding-left:48px;
    cursor: default;
    display:table;   
}
.ab-workflow-node.item-startround {
    background: #5ccb41;
    border: #5e8800 solid 1px;
    overflow: visible;
    padding:0;
}
.ab-workflow-node.item-endround {
    background: #de2922;
    border: #be0e0e solid 1px;
    overflow: visible;
    padding:0;
}
.ab-workflow-node.item-conditionnode {
    background-color:initial;
    border:0!important;
    overflow: visible;
    padding:0;
    border-radius: 0px;
    box-shadow:initial!important;
    cursor: move;
}


.ab-workflow-nodeico {
    position:absolute;
    left:0;
    top:50%;
    width:48px;
    height:48px;
    margin-top:-24px;
    cursor: move;
}
.ab-workflow-node.item-startround .ab-workflow-nodeico,
.ab-workflow-node.item-endround .ab-workflow-nodeico {
    left:50%;
    margin-left:-24px;
}

.ab-workflow-node.item-conditionnode .ab-workflow-nodeico,.ab-workflow-node.item-conditionnode b {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    margin-top:0px;
}

.ab-workflow-node.item-conditionnode .ab-workflow-nodeico {
    z-index:1;
}

.ab-workflow-nodetext {
    text-align:center;
    display:table-cell;   
    vertical-align:middle;    
}
.ab-workflow-node.item-conditionnode .ab-workflow-nodetext {
    position:relative;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.ab-workflow-node.item-startround,
.ab-workflow-node.item-endround {
    color:#fff;
}
.ab-workflow-nodeclose {
    position: absolute;
    z-index: 10;
    right: -12px;
    top: -12px;
    width: 24px;
    height: 24px;
    overflow: hidden;
    cursor: pointer;
    background: url(/Content/images/abskyworkflow/close.png) no-repeat 0 0;
    display:none;
}

.ab-workflow-node:hover {
    border: #4a5b79 1px solid;
    box-shadow: 2px 2px 19px #444;
    opacity: .9;
}

.ab-workflow-node.ab-workflow-nodefocus {
    border: #4a5b79 1px solid;
    box-shadow: 2px 2px 19px #444;
    opacity: .9;
}
/*线段连接点#f30*/


.ab-workflow-nodespot {
    position:absolute;
    height:20px;
    width:20px;
   
    display:none;
    z-index:100;
    cursor:crosshair;
}
.ab-workflow-nodespotc {
    position:absolute;
    top:50%;
    left:50%;
    height:10px;
    width:10px;
    background-color:#039cfd;
    border:2px solid rgba(255, 255, 255, 0.00);
    margin-top:-5px;
    margin-left:-5px;
}

.ab-workflow-nodespotmark .ab-workflow-nodespotc {
    border:2px solid #f30;
}
.ab-workflow-nodespot.left {
    height:100%;
    left:-10px;
    top:0;
}
.ab-workflow-nodespot.top {
    width:100%;
    left:0;
    top:-10px;
}
.ab-workflow-nodespot.right {
    height:100%;
    right:-10px;
    top:0;
}
.ab-workflow-nodespot.bottom {
    width:100%;
    left:0;
    bottom:-10px;
}

.ab-workflow-nodemark .ab-workflow-nodespot{
    display:block;
   
}
.ab-workflow-nodemark {
     cursor:crosshair;
}
/*节点移动载体*/
.ab-workflow .ab-workflow-rsghost {
    position: absolute;
    display: none;
    overflow: hidden;
    border: #8ea4c1 1px dashed;
    background: #f2f2f2;
    filter: Alpha(Opacity=60);
    -moz-opacity: .6;
    opacity: .6;
    z-index: 12;
    border-radius: 10px;
    cursor:move;
    padding-left:48px;
}
/*线条设置*/
.ab-workflow  .ab-workflow-lineoper {
    height: 15px;
    background-color: #d8e8fc;
    border: #ccc 1px solid;
    position: absolute;
    z-index: 10000;
}
.ab-workflow  .ab-workflow-lineoper b {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-left: 2px;
    cursor: pointer;
}
.ab-workflow  .ab-workflow-lineoper .lr {
    background: url(/images/abskyworkflow/GooFlow_line_oper.png) no-repeat 1px 1px;
}
.ab-workflow  .ab-workflow-lineoper .tb {
    background: url(/images/abskyworkflow/GooFlow_line_oper.png) no-repeat 1px -14px;
}
.ab-workflow  .ab-workflow-lineoper .sl {
    background: url(/images/abskyworkflow/GooFlow_line_oper.png) no-repeat 1px -29px;
}
.ab-workflow  .ab-workflow-lineoper .x {
    background: url(/images/abskyworkflow/GooFlow_line_oper.png) no-repeat 1px -44px;
}
/*线条移动*/
 .ab-workflow-linemover {
    filter: Alpha(Opacity=50);
    -moz-opacity: .5;
    opacity: .5;
    overflow: hidden;
    position: absolute;
    z-index: 9999;
}
/*滚动条样式*/
.ab-workflow-work .mCSB_container_wrapper{
    margin:0 !important;
}
.ab-workflow-work .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color:#B3B3B3 !important;
}
.ab-workflow-work .mCSB_scrollTools .mCSB_draggerRail {
    background-color:initial !important;
    background-color:none !important;
}
.ab-workflow-work .mCSB_scrollTools.mCSB_scrollTools_horizontal {
    bottom:-6px;
}
.ab-workflow-work .mCSB_scrollTools_vertical {
    right:-6px;
}